package com.skysz.cglib;

import java.lang.reflect.Method;

import net.sf.cglib.proxy.CallbackFilter;

public class PaymentCallbackFilter implements CallbackFilter {

	@Override
	public int accept(Method method) {
		String methodName = method.getName();
		if( methodName.startsWith("set")) {
			return 1;
		}
		return 0;
	}

}
